/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.googlecode.jsimplemarket.service;

import com.googlecode.jsimplemarket.model.Taxa;
import com.googlecode.jsimplemarket.repository.TaxaRepository;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Alexandru.Codescu
 */
@Service(value = "taxaService")
public class TaxaService {
    @Autowired
    private TaxaRepository taxaRepository;
    
    public List<Taxa> queryTaxePlataRapida() {
        return taxaRepository.queryTaxePlataRapida();
    }

    public List<Taxa> queryTaxePlataRapida25() {
        return taxaRepository.queryTaxePlataRapida25();
    }
    
    public List<Taxa> queryTaxePlataRapida015() {
        return taxaRepository.queryTaxePlataRapida015();
    }
    
    public Taxa findByCod(String cod) {
        return taxaRepository.findByCod(cod);
    }
}
